a11y: Check whether a widget is mapped before querying its parent
authorMike Gorse <mgorse@suse.com>
Fri, 30 Aug 2013 14:13:39 +0000 (09:13 -0500)
committerMike Gorse <mgorse@suse.com>
Sat, 31 Aug 2013 21:42:07 +0000 (16:42 -0500)
commit3f2aacca526c6b4c1eda99b684f273c0a32449bc
tree8fdc0afb7d272435fc63b2443b5bd1801be4f975
parent89214cad5b19f760ea0508fd2418a540744f3660
a11y: Check whether a widget is mapped before querying its parent

Call gtk_widget_get_mapped() in a couple of places before looking at the
widget's parent, since it might be set to a widget that has been
finalized, causing an invalid read.
gtk/a11y/gtkwidgetaccessible.c